package com.example.sunmiv1.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018-10-18.
 */

public class ReportLossGoodBean implements Serializable {

    /**
     * status : 1
     * msg : 查詢成功
     * data : [{"id":"6055","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"4","goods_id":"2097","sku_id":"0","goods_name":"111","sku_name":"","sku_id_list":"","goods_number":"657657","sku_goods_number":"","goods_code":"6767676","sku_code":"","company":null,"specifications":null,"attribute_state":"1","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":111,"sku_num":"1.000","more_num":"111.000","less_num":"111.000","status":"0","cost_price":11,"add_time":"1567070280","index":1,"inventory_num":"","checked":false},{"id":"6054","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2096","sku_id":"0","goods_name":"q","sku_name":"","sku_id_list":"","goods_number":"59723","sku_goods_number":"","goods_code":"1134602768","sku_code":"","company":null,"specifications":null,"attribute_state":"1","pricing_method":"2","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":1,"sku_num":"1.000","more_num":"2.000","less_num":"1.000","status":"0","cost_price":1,"add_time":"1567049642","index":2,"inventory_num":"","checked":false},{"id":"6053","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"318","goods_id":"2095","sku_id":"0","goods_name":"1","sku_name":"","sku_id_list":"","goods_number":"63693","sku_goods_number":"","goods_code":"1328147434","sku_code":"","company":null,"specifications":null,"attribute_state":"1","pricing_method":"2","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":3,"sku_num":"1.000","more_num":"2.000","less_num":"2.000","status":"0","cost_price":4,"add_time":"1567046945","index":3,"inventory_num":"","checked":false},{"id":"6052","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2094","sku_id":"0","goods_name":"1","sku_name":"","sku_id_list":"","goods_number":"56862","sku_goods_number":"","goods_code":"1318423898","sku_code":"","company":null,"specifications":null,"attribute_state":"1","pricing_method":"2","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":1,"sku_num":"1.000","more_num":"1.000","less_num":"1.000","status":"0","cost_price":1,"add_time":"1567046927","index":4,"inventory_num":"","checked":false},{"id":"6051","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2093","sku_id":"0","goods_name":"1","sku_name":"","sku_id_list":"","goods_number":"16746","sku_goods_number":"","goods_code":"1111514064","sku_code":"","company":null,"specifications":null,"attribute_state":"1","pricing_method":"2","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":1,"sku_num":"1.000","more_num":"1.000","less_num":"1.000","status":"0","cost_price":1,"add_time":"1567046794","index":5,"inventory_num":"","checked":false},{"id":"6050","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2092","sku_id":"0","goods_name":"i","sku_name":"","sku_id_list":"","goods_number":"60279","sku_goods_number":"","goods_code":"1290279455","sku_code":"","company":null,"specifications":null,"attribute_state":"1","pricing_method":"2","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":2,"sku_num":"1.000","more_num":"2.000","less_num":"2.000","status":"0","cost_price":2,"add_time":"1567046420","index":6,"inventory_num":"","checked":false},{"id":"6049","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"1","goods_id":"2091","sku_id":"994","goods_name":"測試22222","sku_name":"70g,45°","sku_id_list":"13,28","goods_number":"85643","sku_goods_number":"85643-2","goods_code":"1114367302","sku_code":"1114367302-2","company":"","specifications":"","attribute_state":"2","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":2,"sku_num":"1.000","more_num":"2.000","less_num":"2.000","status":"1","cost_price":2,"add_time":"1566979074","index":7,"inventory_num":"","checked":false},{"id":"6048","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"1","goods_id":"2091","sku_id":"993","goods_name":"測試22222","sku_name":"60g,45°","sku_id_list":"12,28","goods_number":"85643","sku_goods_number":"85643-1","goods_code":"1114367302","sku_code":"1114367302-1","company":"","specifications":"","attribute_state":"2","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":2,"sku_num":"1.000","more_num":"2.000","less_num":"2.000","status":"1","cost_price":2,"add_time":"1566979074","index":8,"inventory_num":"","checked":false},{"id":"6047","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2090","sku_id":"0","goods_name":"測試1111","sku_name":"","sku_id_list":"","goods_number":"83446","sku_goods_number":"","goods_code":"11277449851","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"0.000","less_num":"0.000","status":"0","cost_price":10,"add_time":"1566979026","index":9,"inventory_num":"","checked":false},{"id":"6011","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2068","sku_id":"0","goods_name":"8.20商戶1","sku_name":"","sku_id_list":"","goods_number":"84561","sku_goods_number":"","goods_code":"","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":10,"sku_num":"1.000","more_num":"0.000","less_num":"0.000","status":"0","cost_price":10,"add_time":"1566269201","index":10,"inventory_num":"","checked":false},{"id":"5989","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2037","sku_id":"0","goods_name":"哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈","sku_name":"","sku_id_list":"","goods_number":"5555","sku_goods_number":"","goods_code":"","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":54,"sku_num":"1.000","more_num":"55.000","less_num":"55.000","status":"0","cost_price":55,"add_time":"1566202530","index":11,"inventory_num":"","checked":false},{"id":"5988","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2036","sku_id":"0","goods_name":"999999","sku_name":"","sku_id_list":"","goods_number":"999999","sku_goods_number":"","goods_code":"999999","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":999999,"sku_num":"1.000","more_num":"9.000","less_num":"9.000","status":"0","cost_price":999999,"add_time":"1566202530","index":12,"inventory_num":"","checked":false},{"id":"5987","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2035","sku_id":"0","goods_name":"❤❤","sku_name":"","sku_id_list":"","goods_number":"12580","sku_goods_number":"","goods_code":"","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":1,"sku_num":"1.000","more_num":"1.000","less_num":"1.000","status":"0","cost_price":1,"add_time":"1566202530","index":13,"inventory_num":"","checked":false},{"id":"5986","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"1","goods_id":"2034","sku_id":"0","goods_name":"111","sku_name":"","sku_id_list":"","goods_number":"11111","sku_goods_number":"","goods_code":"114454541","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":11,"sku_num":"1.000","more_num":"11.000","less_num":"11.000","status":"0","cost_price":11,"add_time":"1566202530","index":14,"inventory_num":"","checked":false},{"id":"5985","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2033","sku_id":"0","goods_name":"❤商品","sku_name":"","sku_id_list":"","goods_number":"95580","sku_goods_number":"","goods_code":"","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":0.01,"add_time":"1566202530","index":15,"inventory_num":"","checked":false},{"id":"5984","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"304","goods_id":"2032","sku_id":"0","goods_name":"新版本","sku_name":"","sku_id_list":"","goods_number":"123123","sku_goods_number":"","goods_code":"","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":12,"sku_num":"1.000","more_num":"12.000","less_num":"12.000","status":"0","cost_price":12,"add_time":"1566202530","index":16,"inventory_num":"","checked":false},{"id":"5983","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2031","sku_id":"0","goods_name":"上海市","sku_name":"","sku_id_list":"","goods_number":"76642","sku_goods_number":"","goods_code":"1344040472","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":11,"sku_num":"1.000","more_num":"12.000","less_num":"12.000","status":"0","cost_price":12,"add_time":"1566202530","index":17,"inventory_num":"","checked":false},{"id":"5982","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2030","sku_id":"947","goods_name":"規格","sku_name":"10,60g,","sku_id_list":"92,12","goods_number":"6039","sku_goods_number":"6039-2","goods_code":"1322253244","sku_code":"1322253244-2","company":"","specifications":"","attribute_state":"2","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":1,"sku_num":"1.000","more_num":"0.000","less_num":"0.000","status":"0","cost_price":1,"add_time":"1566202530","index":18,"inventory_num":"","checked":false},{"id":"5981","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2030","sku_id":"946","goods_name":"規格","sku_name":"9,60g,","sku_id_list":"82,12","goods_number":"6039","sku_goods_number":"6039-1","goods_code":"1322253244","sku_code":"1322253244-1","company":"","specifications":"","attribute_state":"2","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":1,"sku_num":"1.000","more_num":"0.000","less_num":"0.000","status":"0","cost_price":1,"add_time":"1566202530","index":19,"inventory_num":"","checked":false},{"id":"5980","merchant_id":"1","store_id":"1","warehouse_id":"474","goods_class_id":"514","goods_id":"2029","sku_id":"0","goods_name":"測試添加劑","sku_name":"","sku_id_list":"","goods_number":"82537","sku_goods_number":"","goods_code":"1314344268","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":1,"sku_num":"1.000","more_num":"1.000","less_num":"1.000","status":"0","cost_price":1,"add_time":"1566202530","index":20,"inventory_num":"","checked":false}]
     */

    private int status;
    private String message;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return message == null ? "" : message;
    }

    public void setMsg(String msg) {
        this.message = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {

        private List<ListBean> list;
        private int count;

        public List<ListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public static class ListBean implements Serializable {
            /**
             * id : 6055
             * merchant_id : 1
             * store_id : 1
             * warehouse_id : 474
             * goods_class_id : 4
             * goods_id : 2097
             * sku_id : 0
             * goods_name : 111
             * sku_name :
             * sku_id_list :
             * goods_number : 657657
             * sku_goods_number :
             * goods_code : 6767676
             * sku_code :
             * company : null
             * specifications : null
             * attribute_state : 1
             * pricing_method : 1
             * goods_brand_id : null
             * goods_yieldly_id : null
             * goods_num : 111
             * sku_num : 1.000
             * more_num : 111.000
             * less_num : 111.000
             * status : 0
             * cost_price : 11
             * add_time : 1567070280
             * index : 1
             * inventory_num :
             * checked : false
             */

            private String id;
            private String merchant_id;
            private String store_id;
            private String warehouse_id;
            private String goods_class_id;
            private String goods_id;
            private String sku_id;
            private String goods_name;
            private String sku_name;
            private String sku_id_list;
            private String goods_number;
            private String sku_goods_number;
            private String goods_code;
            private String sku_code;
            private String company;
            private String specifications;
            private String attribute_state;
            private String pricing_method;
            private String goods_brand_id;
            private String goods_yieldly_id;
            private double goods_num;
            private String sku_num;
            private String more_num;
            private String less_num;
            private String status;
            private double cost_price;
            private String add_time;
            private int index;
            private String inventory_num;
            private String inventory_goods_id;
            private boolean checked;
            private List<PurData> pur_id;
            private String purchase_order_id;
            private String serial_number_state;
            private List<SerialBean> serialList;

            public ListBean(OldInventoryInfo.GoodsListBean goodsListBean) {
                this.id = goodsListBean.getId();
                this.merchant_id = goodsListBean.getMerchant_id();
                this.store_id = goodsListBean.getStore_id();
                this.warehouse_id = goodsListBean.getWarehouse_id();
                this.goods_class_id = goodsListBean.getGoods_class_id();
                this.goods_id = goodsListBean.getGoods_id();
                this.sku_id = goodsListBean.getSku_id();
                this.goods_name = goodsListBean.getGoods_name();
                this.sku_name = goodsListBean.getSku_name();
                this.sku_id_list = goodsListBean.getSku_id_list();
                this.goods_number = goodsListBean.getGoods_number();
                this.sku_goods_number = goodsListBean.getSku_goods_number();
                this.goods_code = goodsListBean.getGoods_code();
                this.sku_code = goodsListBean.getSku_code();
                this.company = goodsListBean.getCompany();
                this.specifications = "";
                this.attribute_state = goodsListBean.getAttribute_state();
                this.pricing_method = goodsListBean.getPricing_method();
                this.goods_brand_id = "";
                this.goods_yieldly_id = "";
                this.goods_num = Double.parseDouble(goodsListBean.getGoods_num());
                this.sku_num = goodsListBean.getSku_num();
                this.more_num = "";
                this.less_num = "";
                this.status = "";
                this.cost_price = Double.parseDouble(goodsListBean.getCost_price());
                this.add_time = goodsListBean.getAdd_time();
                this.index = 0;
                this.inventory_num = goodsListBean.getInventory_num() + "";
                this.checked = false;
                this.pur_id = goodsListBean.getPur_id();
                this.purchase_order_id = goodsListBean.getPurchase_order_id();
                this.inventory_goods_id = goodsListBean.getInventory_goods_id();
                this.serial_number_state = goodsListBean.getSerial_number_state();
                List<ReportLossGoodBean.DataBean.ListBean.SerialBean> sl = new ArrayList<>();
                for(OldInventoryInfo.GoodsListBean.SerialListBean b:goodsListBean.getSerial_list()){
                    ReportLossGoodBean.DataBean.ListBean.SerialBean s = new ReportLossGoodBean.DataBean.ListBean.SerialBean(
                            b.getMain_serial_number(),b.getAuxiliary_serial_number_one(),b.getAuxiliary_serial_number_two()
                    );
                    sl.add(s);
                }
                this.serialList = sl;
            }

            public ListBean(ScanGoodInfo.DataBean dataBean) {
                this.id = dataBean.getId();
                this.merchant_id = dataBean.getMerchant_id();
                this.store_id = dataBean.getStore_id();
                this.warehouse_id = dataBean.getWarehouse_id();
                this.goods_class_id = dataBean.getGoods_class_id();
                this.goods_id = dataBean.getGoods_id();
                this.sku_id = dataBean.getSku_id();
                this.goods_name = dataBean.getGoods_name();
                this.sku_name = dataBean.getSku_name();
                this.sku_id_list = dataBean.getSku_id_list();
                this.goods_number = dataBean.getGoods_number();
                this.sku_goods_number = dataBean.getSku_goods_number();
                this.goods_code = dataBean.getGoods_code();
                this.sku_code = dataBean.getSku_code();
                this.company = dataBean.getCompany();
                this.specifications = dataBean.getSpecifications();
                this.attribute_state = dataBean.getAttribute_state();
                this.pricing_method = dataBean.getPricing_method();
                this.goods_brand_id = dataBean.getGoods_brand_id();
                this.goods_yieldly_id = dataBean.getGoods_yieldly_id();
                this.goods_num = dataBean.getGoods_num();
                this.sku_num = dataBean.getSku_num();
                this.more_num = dataBean.getMore_num();
                this.less_num = dataBean.getLess_num();
                this.status = dataBean.getStatus();
                this.cost_price = dataBean.getCost_price();
                this.add_time = dataBean.getAdd_time();
                this.index = index;
                this.inventory_num = dataBean.getInventory_num() + "";
                this.checked = checked;
                this.pur_id = pur_id;
                this.purchase_order_id = purchase_order_id;
                this.serial_number_state = dataBean.getSerial_number_state();
            }

            public List<SerialBean> getSerialList() {
                if (serialList == null) {
                    return new ArrayList<>();
                }
                return serialList;
            }

            public void setSerialList(List<SerialBean> serialList) {
                this.serialList = serialList;
            }

            public String getSerial_number_state() {
                return serial_number_state == null ? "" : serial_number_state;
            }

            public void setSerial_number_state(String serial_number_state) {
                this.serial_number_state = serial_number_state;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMerchant_id() {
                return merchant_id == null ? "" : merchant_id;
            }

            public void setMerchant_id(String merchant_id) {
                this.merchant_id = merchant_id;
            }

            public String getStore_id() {
                return store_id == null ? "" : store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getWarehouse_id() {
                return warehouse_id == null ? "" : warehouse_id;
            }

            public void setWarehouse_id(String warehouse_id) {
                this.warehouse_id = warehouse_id;
            }

            public String getGoods_class_id() {
                return goods_class_id == null ? "" : goods_class_id;
            }

            public void setGoods_class_id(String goods_class_id) {
                this.goods_class_id = goods_class_id;
            }

            public String getInventory_goods_id() {
                return inventory_goods_id == null ? "" : inventory_goods_id;
            }

            public void setInventory_goods_id(String inventory_goods_id) {
                this.inventory_goods_id = inventory_goods_id;
            }

            public String getGoods_id() {
                return goods_id == null ? "" : goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getSku_id() {
                return sku_id == null ? "" : sku_id;
            }

            public void setSku_id(String sku_id) {
                this.sku_id = sku_id;
            }

            public String getGoods_name() {
                return goods_name == null ? "" : goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getSku_name() {
                return sku_name == null ? "" : sku_name;
            }

            public void setSku_name(String sku_name) {
                this.sku_name = sku_name;
            }

            public String getSku_id_list() {
                return sku_id_list == null ? "" : sku_id_list;
            }

            public void setSku_id_list(String sku_id_list) {
                this.sku_id_list = sku_id_list;
            }

            public String getGoods_number() {
                return goods_number == null ? "" : goods_number;
            }

            public void setGoods_number(String goods_number) {
                this.goods_number = goods_number;
            }

            public String getSku_goods_number() {
                return sku_goods_number == null ? "" : sku_goods_number;
            }

            public void setSku_goods_number(String sku_goods_number) {
                this.sku_goods_number = sku_goods_number;
            }

            public String getGoods_code() {
                return goods_code == null ? "" : goods_code;
            }

            public void setGoods_code(String goods_code) {
                this.goods_code = goods_code;
            }

            public String getSku_code() {
                return sku_code == null ? "" : sku_code;
            }

            public void setSku_code(String sku_code) {
                this.sku_code = sku_code;
            }

            public String getCompany() {
                return company == null ? "" : company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getSpecifications() {
                return specifications == null ? "" : specifications;
            }

            public void setSpecifications(String specifications) {
                this.specifications = specifications;
            }

            public String getAttribute_state() {
                return attribute_state == null ? "" : attribute_state;
            }

            public void setAttribute_state(String attribute_state) {
                this.attribute_state = attribute_state;
            }

            public String getPricing_method() {
                return pricing_method == null ? "" : pricing_method;
            }

            public void setPricing_method(String pricing_method) {
                this.pricing_method = pricing_method;
            }

            public String getGoods_brand_id() {
                return goods_brand_id == null ? "" : goods_brand_id;
            }

            public void setGoods_brand_id(String goods_brand_id) {
                this.goods_brand_id = goods_brand_id;
            }

            public String getGoods_yieldly_id() {
                return goods_yieldly_id == null ? "" : goods_yieldly_id;
            }

            public void setGoods_yieldly_id(String goods_yieldly_id) {
                this.goods_yieldly_id = goods_yieldly_id;
            }

            public double getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(double goods_num) {
                this.goods_num = goods_num;
            }

            public String getSku_num() {
                return sku_num == null ? "" : sku_num;
            }

            public void setSku_num(String sku_num) {
                this.sku_num = sku_num;
            }

            public String getMore_num() {
                return more_num == null ? "" : more_num;
            }

            public void setMore_num(String more_num) {
                this.more_num = more_num;
            }

            public String getLess_num() {
                return less_num == null ? "" : less_num;
            }

            public void setLess_num(String less_num) {
                this.less_num = less_num;
            }

            public String getStatus() {
                return status == null ? "" : status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public double getCost_price() {
                return cost_price;
            }

            public void setCost_price(double cost_price) {
                this.cost_price = cost_price;
            }

            public String getAdd_time() {
                return add_time == null ? "" : add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public int getIndex() {
                return index;
            }

            public void setIndex(int index) {
                this.index = index;
            }

            public String getInventory_num() {
                return inventory_num == null ? "1" : inventory_num;
            }

            public void setInventory_num(String inventory_num) {
                this.inventory_num = inventory_num;
            }

            public boolean isChecked() {
                return checked;
            }

            public void setChecked(boolean checked) {
                this.checked = checked;
            }

            public List<PurData> getPur_id() {
                return pur_id;
            }

            public void setPur_id(List<PurData> pur_id) {
                this.pur_id = pur_id;
            }

            public String getPurchase_order_id() {
                return purchase_order_id;
            }

            public void setPurchase_order_id(String purchase_order_id) {
                this.purchase_order_id = purchase_order_id;
            }

            public static class PurData implements Serializable {

                /**
                 * purchase_order_id : 109
                 * order_number : SC202005110109
                 */

                private String purchase_order_id;
                private String order_number;

                public PurData(String purchase_order_id, String order_number) {
                    this.purchase_order_id = purchase_order_id;
                    this.order_number = order_number;
                }

                public String getPurchase_order_id() {
                    return purchase_order_id;
                }

                public void setPurchase_order_id(String purchase_order_id) {
                    this.purchase_order_id = purchase_order_id;
                }

                public String getOrder_number() {
                    return order_number;
                }

                public void setOrder_number(String order_number) {
                    this.order_number = order_number;
                }
            }
            public static class SerialBean implements Serializable {
                private String main_serial_number;
                private String auxiliary_serial_number_one;
                private String auxiliary_serial_number_two;

                public SerialBean(String main_serial_number, String auxiliary_serial_number_one, String auxiliary_serial_number_two) {
                    this.main_serial_number = main_serial_number;
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }

                public String getMain_serial_number() {
                    return main_serial_number == null ? "" : main_serial_number;
                }

                public void setMain_serial_number(String main_serial_number) {
                    this.main_serial_number = main_serial_number;
                }

                public String getAuxiliary_serial_number_one() {
                    return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
                }

                public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                }

                public String getAuxiliary_serial_number_two() {
                    return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
                }

                public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }
            }
        }
    }
}
